package cn.edu.cqu.bysj.services;

import java.util.List;

import cn.edu.cqu.bysj.domains.TrainInfo;

public interface TrainInfoCRUD {
	public void add(TrainInfo trainInfo );
	
	public TrainInfo getByNo(String trainNo);
	public List<TrainInfo> getAll();
	
	public void edit(String trainNo, TrainInfo trainInfo);
	
	public void deleteByNo(String trainNo);
	public void deleteAll();
}
